﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Entities
{
    [Serializable]
    public class TyLeTinh
    {
        private string hanhDong;
        private int tyLeTinhID;
        private string maTyLeTinh;
        private string soTien;
        private DateTime ngayNhap;
        private string ghiChu;
        private bool deleted;
        Entities.TaiKhoan taiKhoan;
        public Entities.TaiKhoan TaiKhoan
        {
            get { return this.taiKhoan; }
            set
            {
                this.taiKhoan = value;
            }
        }
        public TyLeTinh()
        { }
        public TyLeTinh(string hanhDong, int tyLeTinhID, string maTyLeTinh, string soTien, DateTime ngayNhap, 
            string ghiChu, bool deleted,Entities.TaiKhoan taiKhoan)
        {
            this.taiKhoan = taiKhoan;
            this.hanhDong = hanhDong;
            this.tyLeTinhID = tyLeTinhID;
            this.maTyLeTinh = maTyLeTinh;
            this.soTien = soTien;
            this.ngayNhap = ngayNhap;
            this.ghiChu = ghiChu;
            this.deleted = deleted;
        }
        public string HanhDong
        {
            get { return this.hanhDong; }
            set
            {
                this.hanhDong = value;
            }
        }
        public int TyLeTinhID
        {
            get { return this.tyLeTinhID; }
            set
            {
                this.tyLeTinhID = value;
            }
        }
        public string MaTyLeTinh
        {
            get { return this.maTyLeTinh; }
            set
            {
                this.maTyLeTinh = value;
            }
        }
        public string SoTien
        {
            get { return this.soTien; }
            set { this.soTien = value; }
        }
        public DateTime NgayNhap
        {
            get { return this.ngayNhap; }
            set { this.ngayNhap = value; }
        }
        public string GhiChu
        {
            get { return this.ghiChu; }
            set { this.ghiChu = value; }
        }
        public bool Deleted
        {
            get { return this.deleted; }
            set { this.deleted = value; }
        }

    }

}
